$(document).ready(function() {
	
 	$("#id_cat").change(function(){
              $("#id_cats").load("/index/cats-products", { id: ($("#id_cat option:selected").val())});

              /*if($("#id_cats option:selected").val() > 0)
              		$("#id_region").attr("disabled", "")
              else
              	$("#id_region").attr("disabled", "disabled")*/             	
          
    });
  
    
});


function showAddArt()
{ 
	return hs.htmlExpand(null, {contentId:'popup_add_art', headingText: 'Добавить артикул'});				
}